<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<title>Returns : Add</title>
</h:head>

<h:body>
	<ui:composition template="/WEB-INF/templates/1000_layout.xhtml">
		<ui:define name="content">
			<br />
			<p:fieldset id="fsMain" legend="Returns">
				<h:form id="formBalanceTable">
					<ui:include
						src="/WEB-INF/templates/entity/returnsBalance.readonly.table.xhtml" />
				</h:form>
			</p:fieldset>
			<br />
			<p:fieldset id="fsAdd" legend="Add" toggleable="true"
				toggleSpeed="500" collapsed="true">
				<h:form>
					<ui:include src="/WEB-INF/templates/entity/partUnit.table.xhtml">
						<ui:param name="ajaxRowSelectUpdate"
							value=":partUnitForm:returnsDetail" />
						<ui:param name="ajaxRowSelectOnComplete"
							value="PF('returnsDialog').show()" />
					</ui:include>
				</h:form>
				<h:form id="partUnitForm">
					<ui:include
						src="/WEB-INF/templates/entity/returnsBalance.table.dialog.xhtml">
						<ui:param name="addCommandUpdate" value=":formBalanceTable @form" />
					</ui:include>
				</h:form>
			</p:fieldset>
		</ui:define>
	</ui:composition>
</h:body>

</html>